<script>
import { ref } from 'vue';

export default {
  setup() {
    const active = ref(0);
    return { active };
  },
};
</script>

<template>
  <van-tabs v-model:active="active">
    <van-tab title="活动">内容 1</van-tab>
    <van-tab title="关注">内容 2</van-tab>
    <van-tab title="发现">内容 3</van-tab>
    <van-tab title="分类">内容 4</van-tab>
  </van-tabs>
</template>

<style scoped>

</style>
